package com.cai.service;

import com.cai.entity.PageResult;
import com.cai.entity.QueryPageBean;
import com.cai.pojo.CheckGroup;

import java.util.List;

public interface CheckGroupService {
    public void add(CheckGroup checkGroup, Integer[] checkitemIds);

    //分页查询
    public PageResult pageQuery(QueryPageBean queryPageBean);

    //删除检查组
    public void deleteById(Integer id);

    //根据id查询检查组
    public CheckGroup findById(Integer id);

    //根据检查组id查询对应的检查项id
    public List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    //编辑修改检查组
    public void edit(CheckGroup checkGroup, Integer[] checkitemIds);
    //查询所有检查组
    public List<CheckGroup> findAll();
}
